package adapter.classadapter;

public class Client {

    public static void main(String[] args) {
        System.out.println("类适配器模式===");
        Phone phone = new Phone();
        VoltageAdapter adapter = new VoltageAdapter();
        phone.charge(adapter);
    }
}
